import request from '@/utils/request'

export function getTimelineList() {
  return request({
    url: '/getTimelineList',
    method: 'get'
  })
}

export function addTimeline(data) {
  return request({
    url: '/addTimeline',
    method: 'post',
    data
  })
}

export function delTimeline(id) {
  return request({
    url: '/delTimeline',
    method: 'post',
    params:{
      id:id
    }
  })
}
